﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventbriteService.Model
{
    public class Ticket
    {
        public long? Id { get; set; }

        public long? EventId  {get; set;}
        public string Name  {get; set;}
        public string Description  {get; set;}
       // public TicketType? Type  {get; set;}
        public int? MaximumQuantity  {get; set;}
        public int? MinimumQuantity  {get; set;}
        //public string Currency  {get; set;}
        public CurrencyInfo Cost  {get; set;}
        public CurrencyInfo Fee { get; set; }
        public CurrencyInfo Tax { get; set; }
        public bool? Donation { get; set; }
        public bool?  Free { get; set; }
        public string OnSaleStatus { get; set; }

        //public DateTime? StartDate  {get; set;}
        //public DateTime? EndDate  {get; set;}
        //public int QuantityAvailable  {get; set;}
        //public int QuantitySold  {get; set;}
        //public bool Visible  {get; set;}
    }

    public enum TicketType
    {
        FixedPrice = 0,
        Donation
    }
}
